package com.sikaryofficial.auth.form;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

/**
 * 用户注册对象
 *
 * @author qinjinyuan
 */

@Getter
@Setter
@ToString
public class RegisterChannelBody extends LoginChannelBody {
	/**
	 * 是否是内网调用
	 */
	private boolean hasInnerNet;

	/**
	 * 同步到内网需要该参数
	 */
	private Long userId;

	public Boolean getHasInnerNet() {
		return hasInnerNet;
	}

	public void setHasInnerNet(Boolean hasInnerNet) {
		this.hasInnerNet = hasInnerNet;
	}

	private String shortUserName;
	/**
	 * 姓
	 */
	@Length(max = 30, message = "Last name cannot exceed 30 characters")
	private String lastName;
	/**
	 * 名
	 */
	@Length(max = 30, message = "First name cannot exceed 30 characters")
	private String firstName;
	/**
	 * 电话号码
	 */
	@Length(max = 20, message = "Phone number cannot exceed 100 characters")
	private String phoneNumber;

	/**
	 * 电话区号
	 */
	private String telephoneCode;
	/**
	 * 国家
	 */
	private String country;
	/**
	 * 区域
	 */
	private String area;
	/**
	 * 语言
	 */
	private String language;

	/**
	 * 专营业务员工号
	 */
	@Length(max = 20, message = "Employee number cannot exceed 20 characters")
	private String exclusiveEmployeeNo;

	/**
	 * 跟单员工号
	 */
	@Length(max = 20, message = "Followup employee number cannot exceed 20 characters")
	private String followupEmployeeNo;

	private String source;

	/**
	 * 渠道商公司地址
	 */
	@Length(max = 100, message = "Address line 1 cannot exceed 100 characters")
	private String companyStreet;
	@Length(max = 100, message = "Address line 2 cannot exceed 100 characters")
	private String companyStreet1;
	@Length(max = 20, message = "Company city cannot exceed 20 characters")
	private String companyCity;
	@Length(max = 50, message = "Company country cannot exceed 50 characters")
	private String companyCountry;
	@Length(max = 20, message = "Provinces cannot exceed 20 characters")
	private String companyState;
	@Length(max = 30, message = "Zip code cannot exceed 30 characters")
	private String companyZipCode;
	/**
	 * 渠道商公司地址证明图片
	 */
	private String proofUrl;

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getShortUserName() {
		return shortUserName;
	}

	public void setShortUserName(String shortUserName) {
		this.shortUserName = shortUserName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getTelephoneCode() {
		return telephoneCode;
	}

	public void setTelephoneCode(String telephoneCode) {
		this.telephoneCode = telephoneCode;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getCompanyStreet() {
		return companyStreet;
	}

	public void setCompanyStreet(String companyStreet) {
		this.companyStreet = companyStreet;
	}

	public String getCompanyStreet1() {
		return companyStreet1;
	}

	public void setCompanyStreet1(String companyStreet1) {
		this.companyStreet1 = companyStreet1;
	}

	public String getCompanyCity() {
		return companyCity;
	}

	public void setCompanyCity(String companyCity) {
		this.companyCity = companyCity;
	}

	public String getCompanyCountry() {
		return companyCountry;
	}

	public void setCompanyCountry(String companyCountry) {
		this.companyCountry = companyCountry;
	}

	public String getCompanyState() {
		return companyState;
	}

	public void setCompanyState(String companyState) {
		this.companyState = companyState;
	}

	public String getCompanyZipCode() {
		return companyZipCode;
	}

	public void setCompanyZipCode(String companyZipCode) {
		this.companyZipCode = companyZipCode;
	}

	public String getProofUrl() {
		return proofUrl;
	}

	public void setProofUrl(String proofUrl) {
		this.proofUrl = proofUrl;
	}

	public String getExclusiveEmployeeNo() {
		return exclusiveEmployeeNo;
	}

	public void setExclusiveEmployeeNo(String exclusiveEmployeeNo) {
		this.exclusiveEmployeeNo = exclusiveEmployeeNo;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}
}
